.detail-main {
  padding: 10px 15px 30px 15px;
}

.ProseMirror {
  padding-left: 10px !important;
}

.editor-main {
  border: none !important;
}

.detail-left {
  padding: 0 30px;

  h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
  }
}
@media (max-width: 576px) {
  /* 适用于宽度小于等于576px的设备 */
  .detail-left {
    padding: 0 0;
  }
  .detail-main {
    padding: 10px 0;
  }
}
.author-info {
  .create {
    font-size: 14px;
    line-height: 1;
    margin-bottom: 10px;
    font-weight: normal;
    color: #999;

    .info-item {
      margin-right: 5px;
    }
  }
}

.divider-detail {
  margin-bottom: 0;
}

.title-h4 {
  font-size: 18px;
  margin: 20px 0;
  font-weight: 500;
}
.author-detail{
  display: flex;
  align-items: center;
  color: rgb(51, 122, 183);
  cursor: pointer;
  &__name{
    font-size: 18px;
  }
  &__header{
    width: 36px;
    height: 36px;
    border-radius: 18px;
    margin-right: 10px;
  }
}

.related-questions {
  .related-list {
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
  }

  .related-item {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1;
    color: rgb(51, 122, 183);
  }
}

.margin-less {
  margin: 0;
}

.bottom-functions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  padding: 5px 0;

  .bottom-prize {
    line-height: 32px;
    padding: 0 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
  }

  .praised {
    color: #fff;
    background: #1677ff;
  }

  .to-praise {
    color: #1772f6;
    background: rgba(23, 114, 246, .1)
  }

  .comment-count {
    color: rgb(132, 145, 165);
    display: flex;
    align-items: center;
    margin-left: 24px;
    font-size: 14px;
    cursor: pointer;
  }

  .user-functions {
    margin-left: auto;
  }

}

.comment-box {
  display: flex;
  margin-top: 10px;

  .author-header {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    margin-right: 10px;
  }
}

.publish-btn {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.comment-item {
  display: flex;
  margin-top: 12px;
  width: 100%;
  //flex-direction: column;
  .commenter-header {
    width: 26px;
    height: 26px;
    border-radius: 13px;
  }

  .comment-body {
    margin-left: 10px;
    display: flex;
    font-size: 15px;
    flex-direction: column;
    width: 100%;

    .commenter-name {
      font-weight: bold;
      line-height: 20px;
      text-decoration: none;
      color: rgb(55, 58, 64);
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .comment-content {
      margin: 4px 0 0;
      overflow: hidden;
      color: rgb(55, 58, 64);
      overflow-wrap: break-word;
      line-height: 21px;
    }

    .etc-info {
      box-sizing: border-box;
      margin: 4px 0 0;
      display: flex;
      align-items: center;
    }

    .comment-bottom {
      display: flex;
      font-size: 14px;
      color: rgb(145, 150, 161);
      justify-content: space-between;
      align-items: center;
    }

    .comment-comment {
      display: flex;
      cursor: pointer;
      align-items: center;
    }

    .comment-reply {
      margin-right: 16px;
    }
  }

}

.comment-pagination {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.comment-container {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid rgb(235, 236, 237);
  border-radius: 4px;
}

.praise-color--red {
  color: #ee3a43;
}

.subcomment-container {
  margin-top: 20px;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  min-height: 80px;
  border: 1px solid rgb(235, 236, 237);
  border-radius: 4px;
}

.spin-container {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-tag {
  color: rgb(153, 153, 153);
  height: 16px;
  line-height: 16px;
  box-sizing: border-box;
  margin-left: 4px;
  font-size: 12px;
  position: relative;
  padding: 0 4px;

  &::after {
    display: block;
    content: " ";
    position: absolute;
    inset: -50%;
    pointer-events: none;
    transform: scale(0.5, 0.5);
    border: 1px solid rgb(211, 211, 211);
    border-radius: 4px;
  }
}

.comment-item-functions {
  font-size: 14px;
  color: rgb(132, 145, 165);
}

.justify-content--between {
  justify-content: space-between;
}